<!DOCTYPE html>
<html>
<head>
    <title>门店库存明细表</title>
		<#include "/header.html">
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="grid-btn">
            <form class="form-inline" role="form">
                <div class="form-group">
                    <a @click="reset">
                        <i class="fa fa-refresh"></i>
                    </a>
                </div>&nbsp;&nbsp;&nbsp;
                <div class="form-group">
                    <input type="text" class="form-control input-sm" v-model.trim="q.materialName" placeholder="耗材名称">
                </div>&nbsp;&nbsp;&nbsp;
                <div class="form-group">
                    <input type="text" class="form-control input-sm" v-model.trim="q.materialCode" placeholder="耗材编号">
                </div>&nbsp;&nbsp;&nbsp;
                <div class="form-group">
                    <input type="text" class="form-control input-sm" v-model.trim="q.minQuantity" placeholder="库存数量">
                </div>&nbsp;&nbsp;&nbsp;至
                <div class="form-group">
                    <input type="text" class="form-control input-sm" v-model.trim="q.maxQuantity" placeholder="库存数量">
                </div>&nbsp;&nbsp;&nbsp;
                <a class="btn btn-primary btn-sm" @click="query"><i class="fa fa-search"></i>&nbsp;查询</a>
                <a class="btn btn-primary btn-sm" @click="exportExcel"><i class="fa fa-sign-out"></i>&nbsp;导出</a>
            </form>
        </div>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <div v-show="!showList" class="panel panel-default">
        <div class="panel-heading">{{title}}</div>
        <form class="form-horizontal">
														                    <div class="form-group">
                        <div class="col-sm-2 control-label">仓库id</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control input-sm" v-model="storeStockMaterial.stockId" placeholder="仓库id"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">耗材id</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control input-sm" v-model="storeStockMaterial.materialId" placeholder="耗材id"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">耗材库存</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control input-sm" v-model="storeStockMaterial.materialQuantity" placeholder="耗材库存"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">成本</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control input-sm" v-model="storeStockMaterial.cost" placeholder="成本"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">库存金额</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control input-sm" v-model="storeStockMaterial.money" placeholder="库存金额"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">单位</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control input-sm" v-model="storeStockMaterial.unit" placeholder="单位"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">备注</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control input-sm" v-model="storeStockMaterial.remark" placeholder="备注"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">更新人</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control input-sm" v-model="storeStockMaterial.updateName" placeholder="更新人"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">更新时间</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control input-sm" v-model="storeStockMaterial.updateTime" placeholder="更新时间"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">创建人（员工id）</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control input-sm" v-model="storeStockMaterial.createName" placeholder="创建人（员工id）"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">创建时间</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control input-sm" v-model="storeStockMaterial.createTime" placeholder="创建时间"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">伪删除标记 0正常,1删除</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control input-sm" v-model="storeStockMaterial.del" placeholder="伪删除标记 0正常,1删除"/>
                        </div>
                    </div>
							            <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <input type="button" class="btn btn-primary  btn-sm" @click="saveOrUpdate" value="确定"/>
                &nbsp;&nbsp;<input type="button" class="btn btn-warning  btn-sm" @click="reload" value="返回"/>
            </div>
        </form>
    </div>
</div>

<script src="${request.contextPath}/statics/js/modules/mercharReport/reportStorestockmaterial.js?_${.now?long}"></script>
</body>
</html>